<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加类别</title>
<load href="__PUBLIC__/css/admin_style.css"/> 
<load href="__PUBLIC__/Js/jquery.js"/>
<script>
$(function(){
  $("#btn1").bind("click",function(event){
      $("#form1").submit();
	  $(this).attr("disabled",true);
  });
});
</script>

<style type="text/css">

table td{
	border-bottom:1px solid #C2E7DB;
	border-right:1px solid #C2E7DB;
	background-color:#E8F7EE
}
table th{ 
  background-color: #099;
}
body{ 
  background-color:#F3FAF8
}
table,body,td{
  font-size:15px;	
}

</style>

</head>

<body style="margin-left:10px; margin-top:10px;"><a href="__URL__/index/col_id/{$col_id}">类别管理</a>
<table width="400" border="0" cellpadding="5" cellspacing="1" style="border:#099 3px solid; margin-top:5px;">
<form id="form1" name="form1" method="post" action="__URL__/insert/parid/{$parid}/col_id/{$col_id}">
<tr><td colspan="3" align="center">添加类别</td></tr>
  <tr>
    <td width="124">类别名称：</td>
    <td width="179">
      <input name="class_name" type="text" id="class_name" /></td>
    <td width="97">*</td>
  </tr>
 <tr>
    <td width="124">英文类别名称：</td>
    <td width="179">
      <input name="en_class_name" type="text" id="en_class_name" /></td>
    <td width="97">*</td>
  </tr>
  <!--新增类别图片-->
  <tr><td width="124">类别图片：</td>
  <td colspan="2">
    <input type="text" id="class_pic" name="class_pic" value="" size=""/>
    <input type="button" name="upload" id="upload" value="上传" onClick="var picpath=window.showModalDialog('__APP__/Admin/Public/upload','','dialogWidth=400px;dialogHeight=180px');if(picpath!==undefined){document.getElementById('class_pic').value=picpath;}"/></td>
  </tr>
  <!--新增类别图片-->
  <tr>
    <td colspan="3" align="center">
      <input type="submit"   id="btn1" name="btn1" value="添  加"/>
    </div></td>
    </tr>
 </form>
</table>
</body>
</html>
